package com.jzo2o.market.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.common.model.PageResult;
import com.jzo2o.market.model.domain.Coupon;
import com.jzo2o.market.model.dto.request.CouponOperationPageQueryReqDTO;
import com.jzo2o.market.model.dto.request.MyDTO;
import com.jzo2o.market.model.dto.response.CouponInfoResDTO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author itcast
 * @since 2023-09-16
 */
public interface ICouponService extends IService<Coupon> {


    PageResult<CouponInfoResDTO> pageCoupon(CouponOperationPageQueryReqDTO couponOperationPageQueryReqDTO);

    Coupon my(MyDTO myDTO);

    //定时任务
    void updateUserCoupon();
}
